package org.dromara.system.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.system.domain.SysUserWithdrawal;
import org.dromara.system.domain.bo.SysUserWithdrawalBo;
import org.dromara.system.domain.vo.SysUserWithdrawalVo;

import java.math.BigDecimal;

/**
 * 提现记录Mapper接口
 *
 * @author Lion Li
 * @date 2025-07-17
 */
public interface SysUserWithdrawalMapper extends BaseMapperPlus<SysUserWithdrawal, SysUserWithdrawalVo> {

    IPage<SysUserWithdrawalVo> findAll(IPage<SysUserWithdrawalVo> page, @Param("query") SysUserWithdrawalBo bo);

    BigDecimal withdrawalSummary(@Param("query") SysUserWithdrawalBo bo);
}
